﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000273 RID: 627
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueNousGetRogueTalentInfoScRsp : IMessage<ChessRogueNousGetRogueTalentInfoScRsp>, IMessage, IEquatable<ChessRogueNousGetRogueTalentInfoScRsp>, IDeepCloneable<ChessRogueNousGetRogueTalentInfoScRsp>, IBufferMessage
	{
		// Token: 0x1700083C RID: 2108
		// (get) Token: 0x06001C36 RID: 7222 RVA: 0x00050EAB File Offset: 0x0004F0AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueNousGetRogueTalentInfoScRsp> Parser
		{
			get
			{
				return ChessRogueNousGetRogueTalentInfoScRsp._parser;
			}
		}

		// Token: 0x1700083D RID: 2109
		// (get) Token: 0x06001C37 RID: 7223 RVA: 0x00050EB2 File Offset: 0x0004F0B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueNousGetRogueTalentInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700083E RID: 2110
		// (get) Token: 0x06001C38 RID: 7224 RVA: 0x00050EC4 File Offset: 0x0004F0C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueNousGetRogueTalentInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06001C39 RID: 7225 RVA: 0x00050ECB File Offset: 0x0004F0CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousGetRogueTalentInfoScRsp()
		{
		}

		// Token: 0x06001C3A RID: 7226 RVA: 0x00050ED4 File Offset: 0x0004F0D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousGetRogueTalentInfoScRsp(ChessRogueNousGetRogueTalentInfoScRsp other) : this()
		{
			this.oPDOFKEDNIG_ = other.oPDOFKEDNIG_;
			this.talentInfoList_ = ((other.talentInfoList_ != null) ? other.talentInfoList_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001C3B RID: 7227 RVA: 0x00050F2C File Offset: 0x0004F12C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousGetRogueTalentInfoScRsp Clone()
		{
			return new ChessRogueNousGetRogueTalentInfoScRsp(this);
		}

		// Token: 0x1700083F RID: 2111
		// (get) Token: 0x06001C3C RID: 7228 RVA: 0x00050F34 File Offset: 0x0004F134
		// (set) Token: 0x06001C3D RID: 7229 RVA: 0x00050F3C File Offset: 0x0004F13C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OPDOFKEDNIG
		{
			get
			{
				return this.oPDOFKEDNIG_;
			}
			set
			{
				this.oPDOFKEDNIG_ = value;
			}
		}

		// Token: 0x17000840 RID: 2112
		// (get) Token: 0x06001C3E RID: 7230 RVA: 0x00050F45 File Offset: 0x0004F145
		// (set) Token: 0x06001C3F RID: 7231 RVA: 0x00050F4D File Offset: 0x0004F14D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTalentInfoList TalentInfoList
		{
			get
			{
				return this.talentInfoList_;
			}
			set
			{
				this.talentInfoList_ = value;
			}
		}

		// Token: 0x17000841 RID: 2113
		// (get) Token: 0x06001C40 RID: 7232 RVA: 0x00050F56 File Offset: 0x0004F156
		// (set) Token: 0x06001C41 RID: 7233 RVA: 0x00050F5E File Offset: 0x0004F15E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06001C42 RID: 7234 RVA: 0x00050F67 File Offset: 0x0004F167
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueNousGetRogueTalentInfoScRsp);
		}

		// Token: 0x06001C43 RID: 7235 RVA: 0x00050F78 File Offset: 0x0004F178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueNousGetRogueTalentInfoScRsp other)
		{
			return other != null && (other == this || (this.OPDOFKEDNIG == other.OPDOFKEDNIG && object.Equals(this.TalentInfoList, other.TalentInfoList) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001C44 RID: 7236 RVA: 0x00050FD8 File Offset: 0x0004F1D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OPDOFKEDNIG != 0U)
			{
				num ^= this.OPDOFKEDNIG.GetHashCode();
			}
			if (this.talentInfoList_ != null)
			{
				num ^= this.TalentInfoList.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001C45 RID: 7237 RVA: 0x00051046 File Offset: 0x0004F246
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001C46 RID: 7238 RVA: 0x0005104E File Offset: 0x0004F24E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001C47 RID: 7239 RVA: 0x00051058 File Offset: 0x0004F258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.OPDOFKEDNIG);
			}
			if (this.talentInfoList_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.TalentInfoList);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001C48 RID: 7240 RVA: 0x000510D0 File Offset: 0x0004F2D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OPDOFKEDNIG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OPDOFKEDNIG);
			}
			if (this.talentInfoList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TalentInfoList);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001C49 RID: 7241 RVA: 0x00051140 File Offset: 0x0004F340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueNousGetRogueTalentInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OPDOFKEDNIG != 0U)
			{
				this.OPDOFKEDNIG = other.OPDOFKEDNIG;
			}
			if (other.talentInfoList_ != null)
			{
				if (this.talentInfoList_ == null)
				{
					this.TalentInfoList = new RogueTalentInfoList();
				}
				this.TalentInfoList.MergeFrom(other.TalentInfoList);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001C4A RID: 7242 RVA: 0x000511BC File Offset: 0x0004F3BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001C4B RID: 7243 RVA: 0x000511C8 File Offset: 0x0004F3C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						if (num != 98U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.talentInfoList_ == null)
							{
								this.TalentInfoList = new RogueTalentInfoList();
							}
							input.ReadMessage(this.TalentInfoList);
						}
					}
					else
					{
						this.OPDOFKEDNIG = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000BB9 RID: 3001
		private static readonly MessageParser<ChessRogueNousGetRogueTalentInfoScRsp> _parser = new MessageParser<ChessRogueNousGetRogueTalentInfoScRsp>(() => new ChessRogueNousGetRogueTalentInfoScRsp());

		// Token: 0x04000BBA RID: 3002
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000BBB RID: 3003
		public const int OPDOFKEDNIGFieldNumber = 8;

		// Token: 0x04000BBC RID: 3004
		private uint oPDOFKEDNIG_;

		// Token: 0x04000BBD RID: 3005
		public const int TalentInfoListFieldNumber = 12;

		// Token: 0x04000BBE RID: 3006
		private RogueTalentInfoList talentInfoList_;

		// Token: 0x04000BBF RID: 3007
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04000BC0 RID: 3008
		private uint retcode_;
	}
}
